<template>
	<u-button type="primary" text="退出" @click="onSignOut"></u-button>
</template>

<script>
export default {
	methods: {
		onSignOut() {
			uni.$u.route({
				type: "redirect",
				url: "/pages/login",
			});
		},
	},
};
</script>

<style></style>
